export default {
  state: {
    msgStatus: false
  },
  getters: {
    msgStatus (state) {
      return state.msgStatus
    }
  },
  actions: {
    handleUpdateMsgStatus ({
      commit
    }, data) {
      commit('updateMsgStatus', data)
    }
  },
  mutations: {
    updateMsgStatus (state, data) {
      state.msgStatus = data
    }
  }
}
